<?php

class Application_Model_Answer
{
    protected $id;
    protected $user;
    protected $language;
    protected $question;
    protected $code;
    protected $runTime;
    protected $runMemory;
    protected $time;
    protected $output;
    protected $memo;

//    public function __construct(int $id, 
//            Application_Model_User $user,  
//            Application_Model_Language $language,  
//            Application_Model_Question $question,
//            $code,$runtime,$runmemory,$time,$output,$memo) {
//        $this->id = $id;
//        $this->code = $code;
//        $this->language = $language;
//        $this->user = $user;
//        $this->question = $question;
//        $this->runMemory = $runmemory;
//        $this->runTime = $runtime;
//        $this->time = $time;
//        $this->output = $output;
//        $this->memo = $memo;
//    }


    public function getId() {
        return $this->id;
    }

    public function setId($id) {
        $this->id = $id;
    }

    public function getUser() {
        return $this->user;
    }

    public function setUser($user) {
        $this->user = $user;
    }

    public function getLanguage() {
        return $this->language;
    }

    public function setLanguage($language) {
        $this->language = $language;
    }

    public function getQuestion() {
        return $this->question;
    }

    public function setQuestion($question) {
        $this->question = $question;
    }

    public function getCode() {
        return $this->code;
    }

    public function setCode($code) {
        $this->code = $code;
    }

    public function getRunTime() {
        return $this->runTime;
    }

    public function setRunTime($runTime) {
        $this->runTime = $runTime;
    }

    public function getRunMemory() {
        return $this->runMemory;
    }

    public function setRunMemory($runMemory) {
        $this->runMemory = $runMemory;
    }

    public function getTime() {
        return $this->time;
    }

    public function setTime($time) {
        $this->time = $time;
    }

    public function getOutput() {
        return $this->output;
    }

    public function setOutput($output) {
        $this->output = $output;
    }

    public function getMemo() {
        return $this->memo;
    }

    public function setMemo($memo) {
        $this->memo = $memo;
    }



}

